#!/bin/bash

S=0
I=1
while [ $I -le 100 ]
	do
		S=$[$S+$I]
		I=$[$I+1]
	done
echo $S